varying vec3  pReflectDir;			//	reflection direction mapped to a texture coordinate in cube texture
uniform samplerCube texture;		//	cube texture

void main() 
{
	vec3 texColor = vec3(textureCube(texture, pReflectDir));
	gl_FragColor = vec4(texColor, 1.0);
} 